package com.cictec.middleware.gps.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.cictec.middleware.gps.engine.caculate.entity.BusMileage;
import com.cictec.middleware.gps.engine.caculate.entity.BusTrip;
import com.cictec.middleware.gps.service.feign.MiddlewareDcFeignClient;

/**
 * 实时趟次处理
 * @author ql
 *
 */
@Service
public class DailyOperaTripService {

	@Autowired
	private MiddlewareDcFeignClient middlewareDcFeignClient;
	
	/**
	 * 【日运维】保存实时趟次到数据库
	 */
	public void saveTrip(String busUuid, BusTrip busTrip, List<BusMileage> mileageList){
		
		middlewareDcFeignClient.saveTrip(busUuid, busTrip, mileageList);
	}
	
}
